package com.cls.business.service;

import com.cls.business.entity.Indicator;

import com.cls.common.entity.QueryRequest;
import com.github.pagehelper.PageInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 评审指标表 Service接口
 *
 * @author slx
 * @date 2020-11-13 15:14:45
 */
public interface IIndicatorService extends IService<Indicator> {
    /**
     * 查询（分页）
     *
     * @param request QueryRequest
     * @param indicator indicator
     * @return PageInfo<Indicator>
     */
    PageInfo<Indicator> findIndicators(QueryRequest request, Indicator indicator);

    /**
     * 查询（所有）
     *
     * @param indicator indicator
     * @return List<Indicator>
     */
    List<Indicator> findIndicators(Indicator indicator);

    /**
     * 新增
     *
     * @param indicator indicator
     */
    void createIndicator(Indicator indicator);

    /**
     * 修改
     *
     * @param indicator indicator
     */
    void updateIndicator(Indicator indicator);

    /**
     * 删除
     *
     * @param indicator indicator
     */
    void deleteIndicators(String[] ids);
}
